@charset "utf-8";
$font: Microsoft YaHei;
$color: #00b7ee;

@mixin reuse-flex($flex-direction: row, $flex-wrap: nowrap) {
    display: flex;
    flex-wrap: $flex-wrap;
    flex-direction: $flex-direction;
}

.wrap {
    width: 1000px;
    margin: 0 auto;
    background: #fff;
}

.wrap .main {
    width: 100%;
}

//头部
.wrap .header {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    padding-top: 30px;
}

.top {
    .border-top {
        width: 100%;
        height: 24px;
        background-color: $color;
    }
}

.header .logo {
    width: 121px;
    height: 63px;

    img {
        width: 100%;
    }
}

// 导航栏
.header .nav ul {
    display: flex;
    box-sizing: border-box;

    li {
        margin-right: 15px;
        text-align: center;
        box-sizing: border-box;
        padding-bottom: 5px;
        position: relative;
    }

    a {
        color: #000000;
        font-size: 14px;
        font-family: $font;
    }

}

.header .nav ul li.active::after {
    content: '_';
    color: #395674;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

// 搜索框
.header .search {
    position: relative;
    width: 215px;

    input {
        width: 100%;
        outline: none;
        height: 30px;
        line-height: 30px;
        padding: 0 35px 0 15px;
        box-sizing: border-box;
    }
}

.header .search i {
    display: block;
    background: url('../image/common/icon-search.png') center;
    position: absolute;
    top: 5px;
    right: 5px;
    width: 26px;
    height: 21px;
    cursor: pointer;
}

.top .swiper {
    position: relative;
    width: 999px;
    height: 400px;
    margin: 15px auto 0;

    .slide {
        width: 100%;
        // height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        transition: all .8s;
    }

    // .slide:nth-child(1) {
    //     filter: brightness(0.5);
    // }

    .slide:nth-child(2) {
        filter: brightness(0.5);
    }

    .slide:nth-child(3) {
        filter: sepia(1);
    }

    .slide.active {
        opacity: 1;
        z-index: 10;
    }


    .dot {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 10px;
        display: flex;
        box-sizing: border-box;
        z-index: 20;

        .point {
            border-radius: 50%;
            background-color: rgb(57, 86, 116);
            width: 15px;
            height: 15px;
            z-index: 10;
            margin-right: 15px;
            cursor: pointer;
        }

        .point.active {
            opacity: 0.5;
        }
    }
}

// 页脚
footer {
    hr {
        width: 1000px;
        height: 1px;
        background-color: #2f4d6b;
        opacity: 0.1;
    }

    .footer {
        display: flex;
        margin: 40px 0 20px;
        justify-content: center;
        align-items: center;

        ul {
            font-size: 12px;

            &:first-child {
                margin-left: 51px;
                margin-right: 55px;
            }

            &:nth-child(2) {
                margin-right: 109px;
            }

            &:nth-child(3) {
                margin-right: 53px;
            }

            li {
                margin-bottom: 12px;

                &:first-child {
                    font-size: 16px;
                    font-weight: bold;
                    margin-bottom: 26px;
                }

                a {
                    color: #000000;
                }
            }
        }

        .connect {
            margin-left: 69px;
            width: 284px;
            height: 104px;

            img {
                width: 100%;
                height: 100%;
            }
        }
    }

    .border-bottom {
        width: 100%;
        height: 70px;
        font-size: 12px;
        @include reuse-flex;
        align-items: flex-end;
        justify-content: center;
        background-color: $color;
        padding-bottom: 15px;
        box-sizing: border-box;
    }
}